package com.guguju.ssms.bean;

import android.os.Parcel;
import android.os.Parcelable;
import android.renderscript.Int2;

/**
 * Created by dell on 2022-5-16.
 */
public class UserDayProject implements Parcelable {

/*
 "dayProjectId": 1,
 "dayProjectName": "子任务1",
 "dayProjectType": 1,
 "dayProjectTypeStr": "浇筑",
 "projectId": 1,
 "projectName": "项目计划1",
 "startTime": "2022-05-05T17:23:01",
 "endTime": "2022-05-05T17:23:01",
 "startTimeStr": "2022-05-05 17:23:01",
 "endTimeStr": "2022-05-05 17:23:01",
 "statusType": 0,
 "statusTypeStr": "新任务",
 "issueTime": "0001-01-01T00:00:00",
 "issueTimeStr": "0001-01-01 00:00:00"*/
    private int dayProjectId;
    private String dayProjectName;
    private int dayProjectType;
    private String dayProjectTypeStr;
    private int projectId;
    private String projectName;
    private String startTimeStr;
    private String startTime;
    private String endTimeStr;
    private String endTime;
    private int statusType;
    private String statusTypeStr;
    private String issueTime;
    private String issueTimeStr;


    public int getDayProjectId() {
        return dayProjectId;
    }

    public void setDayProjectId(int dayProjectId) {
        this.dayProjectId = dayProjectId;
    }

    public String getDayProjectName() {
        return dayProjectName;
    }

    public void setDayProjectName(String dayProjectName) {
        this.dayProjectName = dayProjectName;
    }


    public int getDayProjectType() {
        return dayProjectType;
    }

    public void setDayProjectType(int dayProjectType) {
        this.dayProjectType = dayProjectType;
    }


    public String getDayProjectTypeStr() {
        return dayProjectTypeStr;
    }

    public void setDayProjectTypeStr(String dayProjectTypeStr) {
        this.dayProjectTypeStr = dayProjectTypeStr;
    }

    public int getProjectId() {
        return projectId;
    }

    public void setProjectId(int projectId) {
        this.projectId = projectId;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }


    public String getStartTimeStr() {
        return startTimeStr;
    }

    public void setStartTimeStr(String startTimeStr) {
        this.startTimeStr = startTimeStr;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTimeStr() {
        return endTimeStr;
    }

    public void setEndTimeStr(String endTimeStr) {
        this.endTimeStr = endTimeStr;
    }


    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public int getStatusType() {
        return statusType;
    }

    public void setStatusType(int statusType) {
        this.statusType = statusType;
    }

    public String getStatusTypeStr() {
        return statusTypeStr;
    }

    public void setStatusTypeStr(String statusTypeStr) {
        this.statusTypeStr = statusTypeStr;
    }

    public String getIssueTime() {
        return issueTime;
    }

    public void setIssueTime(String issueTime) {
        this.issueTime = issueTime;
    }
    public String getIssueTimeStr() {
        return issueTimeStr;
    }

    public void setIssueTimeStr(String issueTimeStr) {
        this.issueTimeStr = issueTimeStr;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(this.dayProjectId);
        dest.writeString(this.dayProjectName);
        dest.writeInt(this.dayProjectType);
        dest.writeString(this.dayProjectTypeStr);
        dest.writeInt(this.projectId);
        dest.writeString(this.projectName);
        dest.writeString(this.startTime);
        dest.writeString(this.startTimeStr);
        dest.writeString(this.endTime);
        dest.writeString(this.endTimeStr);
        dest.writeInt(this.statusType);
        dest.writeString(this.statusTypeStr);
        dest.writeString(this.issueTime);
        dest.writeString(this.issueTimeStr);

    }

    public UserDayProject() {
    }


    protected UserDayProject(Parcel in) {
        this.dayProjectId = in.readInt();
        this.dayProjectName = in.readString();
        this.dayProjectType = in.readInt();
        this.dayProjectTypeStr = in.readString();
        this.projectId = in.readInt();
        this.projectName = in.readString();
        this.startTime = in.readString();
        this.startTimeStr = in.readString();
        this.endTimeStr = in.readString();
        this.endTime = in.readString();
        this.statusType = in.readInt();
        this.statusTypeStr = in.readString();
        this.issueTime = in.readString();
        this.issueTimeStr = in.readString();

    }

    public static final Creator<UserDayProject> CREATOR = new Creator<UserDayProject>() {
        @Override
        public UserDayProject createFromParcel(Parcel source) {
            return new UserDayProject(source);
        }

        @Override
        public UserDayProject[] newArray(int size) {
            return new UserDayProject[size];
        }
    };

}



